package pojo;

public class User {
    private int userid;
    private String username;
    private String userpwd;
    private String phoneNum;
    private String qqNum;
    private String usersex;

    public User(int userid, String username, String userpwd, String phoneNum, String qqNum, String usersex) {
        this.userid = userid;
        this.username = username;
        this.userpwd = userpwd;
        this.phoneNum = phoneNum;
        this.qqNum = qqNum;
        this.usersex = usersex;
    }

    public User() {
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getQqNum() {
        return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum;
    }

    public String getUsersex() {
        return usersex;
    }

    public void setUsersex(String usersex) {
        this.usersex = usersex;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", qqNum='" + qqNum + '\'' +
                ", usersex='" + usersex + '\'' +
                '}';
    }
}
